"To write the year" means to record or document the year in written form, typically in calendars, documents, or other written materials.